<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>网页布局案例</title>
    <style>
        * {
            margin: 0;
            padding: 0;
        }
        li {
            list-style: none;
        }
        .top {
            height: 50px;
            background-color: gray;
        }
        .banner {
            width: 1000px;
            height: 150px;
            background-color: gray;
            margin: 10px auto;
        }
        .content1 {
            width: 1000px;
            height: 100px;
            background-color: gray;
            margin: 10px auto;
        }
        /* .content1>ul {
            display: flex;
            flex-direction: row;
            justify-content: space-between;
        } */
        .content2 {
            width: 1000px;
            height: 200px;
            background-color: gray;
            margin: 10px auto;
        }
        .footer {
            height: 100px;
            background-color: gray;
            margin: 10px auto;
        }
        .content1 ul>li {
            width: 240px;
            height: 100px;
            background-color: rgb(143, 183, 219);
            float: left;
            margin-right: 13.3px;s
        }
        .content1 ul .lastli {
            margin-right: 0;
        }
        .content2 ul>li {
            width: 240px;
            height: 200px;
            background-color:rgb(143, 183, 219);
            float: left;
            margin-right: 13.3px;
        }
        .content2 ul .lastli {
            margin-right: 0px;
        }
    </style>
</head>
<body>
    <div class="top"></div>
    <div class="banner"></div>
    <div class="content1">
        <ul>
            <li></li>
            <li></li>
            <li></li>
            <li class="lastli"></li>
        </ul>
    </div>
    <div class="content2">
        <ul>
            <li></li>
            <li></li>
            <li></li>
            <li class="lastli"></li>
        </ul>
    </div>
    <div class="footer"></div>
</body>
</html>